<#macro mask>

<div class="modal" id="mask" tabindex="-1" role="dialog" aria-labelledby="errorTip" aria-hidden="true">
  <div class="modal-dialog" style="width:400px">
    <div class="modal-content">
      <div class="modal-body" id="tipContent">
        	提交中
      </div>      
    </div><!-- /.modal-content -->
  </div><!-- /.modal-dialog -->
</div><!-- /.modal -->
<script type="text/javascript">
var mask={
	$mask:$('#mask'),
	show:function(){
		this.$mask.modal('show');	
	},
	hide:function(){
		this.$mask.modal('hide');	
	}
};
</script>
</#macro>